Skip to content

fix: keep FileSynchronizer aligned with supported extensions (#286)#300

Open
officialasishkumar wants to merge 1 commit intozilliztech:masterfrom
officialasishkumar:fix/synchronizer-supported-extensions
Open

fix: keep FileSynchronizer aligned with supported extensions (#286)#300
officialasishkumar wants to merge 1 commit intozilliztech:masterfrom
officialasishkumar:fix/synchronizer-supported-extensions

Conversation

@officialasishkumar
Copy link
Copy Markdown

Summary

  • pass supported extensions into FileSynchronizer so sync only tracks files the indexer would actually process
  • skip hashing unsupported files during Merkle snapshot generation
  • thread the extension allowlist through the MCP handler, core reindex path, and VS Code index command

Closes #286.

Validation

  • corepack pnpm exec tsc --build --force
  • ran a focused Node regression against the built FileSynchronizer to confirm .pdf files are skipped while .ts changes are still detected

Pass supported extensions into FileSynchronizer so the Merkle snapshot only tracks files that the indexer can actually embed. This prevents binary and other unsupported files from being hashed during sync, avoids false reindex work, and keeps the MCP and VS Code entry points aligned with core reindex behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FileSynchronizer tracks binary files — merkle DAG bypasses supportedExtensions filter

1 participant